﻿using KayakMes.Common.Dtos.TeamDTO.Input;
using KayakMes.Common.Dtos.TeamDTO.Output;
using KayakMes.Common.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KayakMes.ProcessManagement.Application.Scheduling
{
    public interface ITeamSetService
    {
        /// <summary>
        /// 添加班组设置
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> Add(TeamSetInput input);
        /// <summary>
        /// 删除班组设置
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        ApiResult<int> DeleteTeamSet(long id);
        /// <summary>
        /// 根据ID查询班组设置
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        ApiResult<TeamSetOutput> FindTeamSet(long id);
        /// <summary>
        /// 查询班组设置列表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiPaging<TeamSetOutput> GetTeamSetList(GetTeamSetInput input);
        /// <summary>
        /// 修改班组设置
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> UpdateTeamSet(UpdateTeamSetInput input);
            
    }
}
